#!/bin/sh
#

# NOTE:  To use this, set your JAVA_HOME and MONEYDANCE_HOME environment variables
#
# The following installation assumes that the moneydance.jar file is installed
#  under the /usr/local/lib directory, and that java is installed in the
#  /usr/local/java directory
#
JAVA_HOME=/usr/local/java
export JAVA_HOME

MONEYDANCE_JAR=/usr/local/lib/moneydance.jar
export MONEYDANCE_JAR

CMD="${JAVA_HOME}/bin/java -classpath ${MONEYDANCE_JAR}:${JAVA_HOME}/lib/classes.zip Moneydance $@"

echo ${CMD}
exec ${CMD}


